/**
  ******************************************************************************
  * @file    Bsp/GlobalType.c 
  * @author  zlf
  * @version V1.0.0
  * @date    2016-07-07
  * @brief   global type variables definition
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/

	#include "GlobalType.h"

/* Private constants ---------------------------------------------------------*/


/* Private variables ---------------------------------------------------------*/

T_Global_Typedef tGlobal;
T_Action_Typedef tAction;
T_Global_motorDef tGlobalMotor;



/* Private function prototypes -----------------------------------------------*/
static void global_init( void );	
static void global_update( void );

/* Private variables for function --------------------------------------------*/
F_GLOBAL_Typedef fGlobal =
{
	.init = global_init,
	.update = global_update
};

void global_update(void)
{

}	

void global_init(void)
{
	tSet[TS_ZERO] 	= 1720;
	global_update();
	tGlobal.DragFlt = 0 ;
	tAction.MotorMoveCnt_cur = 0;
	tGlobal.rollInit = 0;
	tGlobal.startOK = 0;
}




